'use strict';

const baseController =require('./baseController.js');

class goodsTypeController extends baseController {
    async list() {
        let {service, request, query} = this.ctx;
        let newVar = await service.goodsTypeService.list({});
        this.success({data:newVar})
    }
}

module.exports = goodsTypeController;

//router.get('/admin/goodsTypeController/index',controller.admin.goodsTypeController.index);
